import { TypeOrmModule } from '@nestjs/typeorm';
import { Module } from '@nestjs/common';
import { User } from 'src/dataBase/Entities/user.entity';
import { Role } from 'src/dataBase/Entities/role.entity';
import { UserService } from 'src/user/user.service';
import { roleService } from './role.service';
import { RoleController } from './role.controller';

@Module({
    imports:[TypeOrmModule.forFeature([User]),TypeOrmModule.forFeature([Role])],
    providers:[UserService,roleService],
    controllers:[RoleController]
})

export class RoleModule {}